* xfns.c: Move misplaced ifndef USE_GTK from previous checkin.
authorJan D. <jan.h.d@swipnet.se>
Tue, 7 May 2013 17:47:25 +0000 (19:47 +0200)
committerJan D. <jan.h.d@swipnet.se>
Tue, 7 May 2013 17:47:25 +0000 (19:47 +0200)
src/ChangeLog
src/xfns.c

index c53e18cc1028e5b1e4e680b90fb58c3ffc72a3a4..bf5a590a7a6e7ff528adf3268cf8f3b7a3f5e8f5 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-07  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xfns.c: Move misplaced ifndef USE_GTK from previous checkin.
+
 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
 
        Static checking by GCC 4.8.0.
index d45d113a741efea734db385e5880276dae968ca6..8254f3cf22edaa9f2c0dde72ec15ca116ffb55eb 100644 (file)
@@ -3804,8 +3804,6 @@ If omitted or nil, that stands for the selected frame's display.  */)
    Return false if and only if the workarea information cannot be
    obtained via the _NET_WORKAREA root window property.  */
 
-#ifndef USE_GTK
-
 static bool
 x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
 {
@@ -3864,6 +3862,8 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
   return result;
 }
 
+#ifndef USE_GTK
+
 struct MonitorInfo {
   XRectangle geom, work;
   int mm_width, mm_height;